.article-list-container {
  padding: 16px;

  .search-card {
    margin-bottom: 16px;

    .search-form {
      .form-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -8px;
        
        .form-item {
          padding: 0 8px;
          margin-bottom: 16px;
          min-width: 200px;
          
          // 响应式布局
          @media screen and (min-width: 1600px) {
            flex: 0 0 16.66%; // 超大屏幕 6个一行
          }
          
          @media screen and (max-width: 1599px) and (min-width: 1200px) {
            flex: 0 0 20%; // 大屏幕 5个一行
          }
          
          @media screen and (max-width: 1199px) and (min-width: 992px) {
            flex: 0 0 25%; // 中等屏幕 4个一行
          }
          
          @media screen and (max-width: 991px) and (min-width: 768px) {
            flex: 0 0 33.33%; // 小屏幕 3个一行
          }
          
          @media screen and (max-width: 767px) and (min-width: 576px) {
            flex: 0 0 50%; // 超小屏幕 2个一行
          }
          
          @media screen and (max-width: 575px) {
            flex: 0 0 100%; // 移动设备 1个一行
          }
          
          &.form-btn-item {
            display: flex;
            align-items: flex-end;
            margin-bottom: 16px;
            
            .form-btns {
              display: flex;
              gap: 8px;
              flex-wrap: wrap;
            }
          }
        }
      }
    }
  }

  .action-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
    
    .left-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    
    .right-actions {
      display: flex;
      align-items: center;
      
      .table-info {
        color: #666;
        font-size: 14px;
      }
    }
  }

  .table-card {
    overflow-x: auto;
    
    .ant-table-cell {
      white-space: nowrap;
      
      &.content-column {
        max-width: 300px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    .image-container {
      position: relative;
      width: 80px;
      height: 60px;
      
      .article-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
      }
      
      .preview-mask {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
      }
    }
    
    .empty-image {
      width: 80px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f5f5f5;
      border: 1px dashed #d9d9d9;
      border-radius: 4px;
      color: #999;
      font-size: 14px;
    }
    
    // 更新时间高亮显示
    .updated-time {
      color: #52c41a;
      position: relative;
      
      &::after {
        content: '(已更新)';
        position: absolute;
        top: -2px;
        right: -42px;
        font-size: 11px;
        color: #52c41a;
        font-weight: bold;
      }
    }
    
    // 时间列样式
    .time-column {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
      position: relative;
      padding-right: 5px;
      
      .date-part {
        font-weight: 500;
        margin-bottom: 3px;
        font-size: 13px;
      }
      
      .time-part {
        color: #666;
        font-size: 12px;
      }
      
      &.updated-time {
        .date-part, .time-part {
          color: #52c41a;
        }
        
        &::after {
          content: '(已更新)';
          position: absolute;
          top: 0;
          right: -22px;
          font-size: 11px;
          color: #52c41a;
          font-weight: bold;
        }
      }
    }
    
    // 状态开关样式增强
    .ant-switch {
      &.status-pending {
        background-color: #faad14;
        
        &:hover {
          background-color: #e8a612;
        }
      }
      
      &.status-recommended {
        background-color: #1890ff;
        box-shadow: 0 0 8px rgba(24, 144, 255, 0.8);
        
        &:hover {
          background-color: #40a9ff;
        }
        
        &::after {
          animation: pulse 1.5s infinite;
        }
      }
    }
  }

  .form-container {
    .image-upload-container {
      width: 100%;
      margin-bottom: 16px;
      
      .ant-upload-select {
        width: 100%;
      }
      
      .upload-preview {
        width: 100%;
        max-height: 200px;
        object-fit: contain;
      }
    }
    
    .editor-container {
      border: 1px solid #d9d9d9;
      border-radius: 2px;
      min-height: 300px;
      margin-bottom: 16px;
    }
  }
  
  .import-table-name {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .upload-section {
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    padding: 16px;
    background-color: #fafafa;
    text-align: center;
    
    .ant-upload {
      width: 100%;
      margin-bottom: 0;
      
      &.ant-upload-select {
        display: block;
        
        .ant-btn {
          width: 100%;
        }
      }
    }
    
    .file-info {
      text-align: left;
      background: #fff;
      padding: 12px;
      border-radius: 4px;
      border: 1px solid #f0f0f0;
      
      div {
        line-height: 1.5;
      }
    }
  }

  // 响应式调整
  @media screen and (max-width: 576px) {
    padding: 8px;
    
    .action-bar {
      flex-direction: column;
      
      .right-actions {
        margin-top: 8px;
      }
    }
    
    .time-column {
      .date-part, .time-part {
        font-size: 11px;
      }
      
      .date-part {
        margin-bottom: 1px;
      }
      
      &.updated-time {
        &::after {
          right: -20px;
          font-size: 9px;
        }
      }
    }
  }

  // 脉冲动画效果
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(24, 144, 255, 0.7);
    }
    70% {
      box-shadow: 0 0 0 6px rgba(24, 144, 255, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(24, 144, 255, 0);
    }
  }
} 